package com.aaa.sys.mapper;

import com.aaa.sys.entity.OperationLog;
import com.aaa.sys.vo.OperationLogResult;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 操作日志 Mapper 接口
 * </p>
 *
 * @author ykq
 * @since 2020-12-08
 */
public interface OperationLogMapper extends BaseMapper<OperationLog> {

    IPage<OperationLogResult> findByCondition(IPage<OperationLogResult> page, @Param(Constants.WRAPPER)  QueryWrapper<OperationLogResult> wrapper);
}
